﻿using System;

namespace Xin478.CSWork.Common
{
    [Serializable]
    public class ActionInfo
    {
        private int _id;
        private string _action;

        private RightInfo _rightInfo;

        public ActionInfo() { _rightInfo = new RightInfo(); }

        public int Id { get { return _id; } set { _id = value; } }
        public string Action { get { return _action; } set { _action = value; } }
        public byte Rights { get { return _rightInfo.Rights; } set { _rightInfo.Rights=value; } }
        public RightInfo RightInfo { get { return _rightInfo; } set { _rightInfo = value; } }
    }

}
